import request from '@/utils/request'

// 查询查询命令关联列表
export function listBiSqlJoinTable(query) {
  return request({
    url: '/conf/BiSqlJoinTable/list',
    method: 'get',
    params: query
  })
}

// 查询查询命令关联详细
export function getBiSqlJoinTable(id) {
  return request({
    url: '/conf/BiSqlJoinTable/' + id,
    method: 'get'
  })
}

// 新增查询命令关联
export function addBiSqlJoinTable(data) {
  return request({
    url: '/conf/BiSqlJoinTable',
    method: 'post',
    data: data
  })
}

// 修改查询命令关联
export function updateBiSqlJoinTable(data) {
  return request({
    url: '/conf/BiSqlJoinTable',
    method: 'put',
    data: data
  })
}

// 删除查询命令关联
export function delBiSqlJoinTable(id) {
  return request({
    url: '/conf/BiSqlJoinTable/' + id,
    method: 'delete'
  })
}
